projects
/
project
/
bcm63xx
/
atf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77614a9
)
stm32mp: check stm32_sdmmc2_mmc_init return
author
Yann Gautier
<yann.gautier@st.com>
Thu, 29 Nov 2018 14:44:04 +0000
(15:44 +0100)
committer
Yann Gautier
<yann.gautier@st.com>
Tue, 4 Dec 2018 09:38:41 +0000
(10:38 +0100)
Signed-off-by: Yann Gautier <yann.gautier@st.com>
plat/st/stm32mp1/bl2_io_storage.c
patch
|
blob
|
history
diff --git
a/plat/st/stm32mp1/bl2_io_storage.c
b/plat/st/stm32mp1/bl2_io_storage.c
index fdbd4bfd035b09362a56fa88cd739618593f9cff..b1125d15dbaa184bd45f0dc1def445f8a101b474 100644
(file)
--- a/
plat/st/stm32mp1/bl2_io_storage.c
+++ b/
plat/st/stm32mp1/bl2_io_storage.c
@@
-282,7
+282,11
@@
void stm32mp1_io_setup(void)
}
params.device_info = &device_info;
- stm32_sdmmc2_mmc_init(¶ms);
+ if (stm32_sdmmc2_mmc_init(¶ms) != 0) {
+ ERROR("SDMMC%u init failed\n",
+ boot_context->boot_interface_instance);
+ panic();
+ }
/* Open MMC as a block device to read GPT table */
io_result = register_io_dev_block(&mmc_dev_con);